'''
Author: xialang333@gmail.com
Date: 2025-08-04 14:35:49
LastEditTime: 2025-08-04 14:35:52
'''
from typing import Dict, Any
import json

def format_labels(labels: Dict[str, Any]) -> str:
    """Convert labels dict to string format"""
    if not labels:
        return ""
    return json.dumps(labels)